<?php
class Enfermedad_model extends CI_Model{
    function __construct()
    {
        parent::__construct();
        $this->tablename = 'users';
    }
    
     function listarEnfermedades(){
        
              
        $queryEn = $this->db->get('enfermedad');
        $rows=$queryEn->result();
         
        return $rows;
       
    }

}
?>
